FROM ubuntu
MAINTAINER cary <accaolei@gmail.com>
ENV LANG en_US.UTF-8
RUN mkdir /code
WORKDIR /code
ADD ./ /code/
ADD ./sources.list /etc/apt/sources.list
RUN apt-get update
RUN apt-get -y install python-dev build-essential libffi-dev libssl-dev
RUN apt-get -y install  libfreetype6-dev
RUN apt-get -y install gcc libmysqld-dev python-pip python-dev build-essential libssl-dev libevent-dev libjpeg-dev libxml2-dev libxslt-dev libffi-dev

RUN pip install -r requirements.txt
